//package com.xuecheng.teaching.api;
//
//import com.xuecheng.commons.model.dto.CommentListDto;
//import com.xuecheng.commons.model.dto.PageRequest;
//import com.xuecheng.commons.model.vo.CommentListVo;
//import com.xuecheng.commons.model.vo.ResponseResult;
//import org.springframework.cloud.openfeign.FeignClient;
//import org.springframework.stereotype.Service;
//import org.springframework.web.bind.annotation.*;
//
//import java.util.List;
//
//@Service
//@FeignClient(value = "xc-teaching-service")
//public interface TteachingClient {
////    根据id删除
//    @DeleteMapping("/course-comment/{commentId}")
//    ResponseResult delete(@PathVariable long commentId);
////    机构的评论列表
////    @GetMapping("/list-all")
////    public ResponseResult commentListAll(@RequestBody CommentListDto dto,
////                                         PageRequest request);
////    @PostMapping("/course-comment/for-course")
////    ResponseResult<CommentListVo> commentlist(CommentListDto dto);
//
//
//    @PostMapping("/course-comment/list")
//    public ResponseResult<List<CommentListVo>> forcommentlist(@RequestBody CommentListDto dto );
//
//    @PostMapping("/course-comment/listAll")
//    public ResponseResult<List<CommentListVo>> listAll(@RequestBody CommentListDto dto );
//}
